package com.liu.gscfqa.pojo;

import java.time.LocalDateTime;

/**
 * 帖子分类表实体类
 */
public class Category {
    // 分类ID
    private Integer categoryId;

    // 分类名称
    private String name;

    // 分类描述
    private String description;

    // 创建时间
    private LocalDateTime createTime;

    // 构造方法
    public Category() {
    }

    public Category(String name, String description) {
        this.name = name;
        this.description = description;
    }

    // Getter和Setter方法
    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}